package com.bill99.rpc.client;

import java.io.IOException;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * @author sheng.zhang
 */
public class ReciveServlet extends HttpServlet {

	private static final long serialVersionUID = 1L;

	private Log log = LogFactory.getLog(ReciveServlet.class);

	@Override
	public void init(ServletConfig config) throws ServletException {
	}

	@Override
	protected void service(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		String mobile = request.getParameter("mobile");
		String content = request.getParameter("content");
		String moTime = request.getParameter("moTime");
		log.info("mobile=" + mobile + ", content=" + content + ", moTime="
				+ moTime);
	}

}
